package controller

import "phant-operator/pkg/apis/phant/v1alpha1"

// PostgresClusterControlInterface manages TidbClusters
type PostgresClusterControlInterface interface {
	UpdatePostgresCluster(*v1alpha1.PostgresCluster, *v1alpha1.PostgresClusterStatus, *v1alpha1.PostgresClusterStatus) (*v1alpha1.PostgresCluster, error)
	Update(*v1alpha1.PostgresCluster) (*v1alpha1.PostgresCluster, error)
	Create(*v1alpha1.PostgresCluster) error
	Patch(tc *v1alpha1.PostgresCluster, data []byte, subresources ...string) (result *v1alpha1.PostgresCluster, err error)
}
